package com.nari.ncps.screen.dto.excelimport.al;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 能源消费表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_al_opermon_energy_con")
@Schema(name = "AlOpermonEnergyCon对象", description = "能源消费表")
public class AlOpermonEnergyCon implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年")
    @TableField("year")
    private Integer year;

    @Schema(description = "月")
    @TableField("month")
    private Integer month;

    @Schema(description = "日")
    @TableField("day")
    private Integer day;

    @Schema(description = "综合能源同比率")
    @TableField("energy_yoy_rate")
    private BigDecimal energyYoyRate;

    @Schema(description = "本年累计综合能源消费量")
    @TableField("current_year_energy")
    private BigDecimal currentYearEnergy;

    @Schema(description = "上年累计综合能源消费量")
    @TableField("last_year_energy")
    private BigDecimal lastYearEnergy;

    @Schema(description = "铝厂类型:0-霍煤鸿铝厂,1-扎哈淖尔铝厂,2-白音华铝厂")
    @TableField("aluminum_plant_type")
    private Byte aluminumPlantType;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
